﻿<%@ page language="java" contentType="text/html; charset=UTF-8"
	pageEncoding="UTF-8"%>
<!DOCTYPE html>
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<%@include file="../common/base.jsp"%>
<title>密码修改页面</title>
<link rel="stylesheet" type="text/css"
	href="${ctx}/staticweb/css/index.css">
</head>
<body class="mian_bj">
	<form action="${ctx}/store/setPassword.do" method="post">
		<div class="mian_top_01">
			<div class="mian_top_r"></div>
			<div class="mian_top_l"></div>
			<div class="mian_top_c"></div>
			<div class="mian_b">
				<table width="100%" border="0" cellpadding="0" cellspacing="0"
					class="mian_b_bg_xz">
					<tr>
						<td width="5%" class="mian_b_bg_lm">&nbsp;</td>
						<td colspan="3" class="mian_b_bg_lm">密码修改</td>
					</tr>
					<c:if test="${x==2}">
	                    <div style="padding-left:10px;color:red;"><c:out value="密码不能为空"></c:out></div>
                    </c:if>
                    <c:if test="${x==1}">
	                    <div style="padding-left:10px;color:red;"><c:out value="旧密码和新密码不能相同或者新密码两次输入值相同"></c:out></div>
                    </c:if>
                    <c:if test="${x==0}">
	                    <div style="padding-left:10px;color:red;"><c:out value="提交成功"></c:out></div>
                    </c:if>
					<tr>
						<td>&nbsp;</td>
						<td width="7%" valign="top">用户名：</td>
						<td width="60%"><input type="text" class="input_01"
							name="name" id="textfield" ></td>
						<td width="25%">&nbsp;</td>
					</tr>
					<tr>
						<td>&nbsp;</td>
						<td width="7%" valign="top">当前密码：</td>
						<td width="60%"><input type="text" class="input_01"
							name="password" id="textfield" ></td>
						<td width="25%">&nbsp;</td>
					</tr>
					<tr>
						<td>&nbsp;</td>
						<td valign="top">新密码：</td>
						<td><input type="text" class="input_01" name="newpassword"
							id="textfield" placeholder="    密码必须由6~8数字和字母组成"></td>
						<td>&nbsp;</td>
					</tr>
					<tr>
						<td>&nbsp;</td>
						<td valign="top">确认新密码：</td>
						<td><input type="text" class="input_01" name="againpassword"
							id="textfield" placeholder="    请再输入一遍新密码"></td>
						<td>&nbsp;</td>
					</tr>
					<tr>
						<td>&nbsp;</td>
						<td>&nbsp;</td>
						<td>
							<div align="center">
								<input type="submit" value="确认提交" style="cursor: pointer;">
								<input id="cancelBtn" type="button" value="取消返回" style="cursor: pointer;">
							</div>
						</td>
						<td>&nbsp;</td>
					</tr>
				</table>
			</div>
		</div>
	</form>
</body>
</html>
